home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The PC-SIG Library 9
/
The PC-SIG Library on CD ROM - Ninth Edition.iso
/
301_400
/
DISK0353
/
DISK0353.ZIP
/
MAKAMOVI.DOC
< prev
next >
Wrap
Text File
|
1984-10-15
|
5KB
|
102 lines
MAKE A MOVIE: ANIMATION FOR YOUR MONOCHROME MONITOR
(c) 1984 by Neil J. Rubenking
>>>>> Requires at least 96K <<<<<
>>>>> but systems with less <<<<<
>>>>> than 128K may not run <<<<<
>>>>> the "intro" -- if so, <<<<<
>>>>> rename it INTRO.SCN. <<<<<
╔═════════════════════════════════════╦═════════════════════════════╗
║ I release this program into the ║ ║
║ public domain. If you create a ║ Neil J. Rubenking ║
║ particularly great animation with ║ 300 Page Street ║
║ it, I would very much appreciate ║ San Francisco, CA 94102 ║
║ receiving a copy (on disk). ║ ║
╚═════════════════════════════════════╩═════════════════════════════╝
MAKE A MOVIE actually consists of two programs (written in TURBO PASCAL).
MAKAMOVI.COM is used to design and save a series of screens, with the capacity
to show them in sequence very rapidly. SHOWMOVI.COM is a stripped-down
version that just displays a file of screens in one of several modes. The
files SQUARE.SCN and BOUNCY.SCN on this disk are sample screen files, and
INTRO.SCN is MAKAMOVI's introduction.
MAKE A MOVIE is somewhat rough -- you can crash it by not answering the
questions properly (e.g., by hitting <return> without giving a filename when
prompted for one). Still, all will be well if you follow instructions.
Future versions will allow you to set the screen attribute for each location.
(That is, for MONOCHROME, high or low intensity, reverse or regular video, and
underline or not; for color, of course, the screen attribute IS the color.)
DRAWING MODES
MAKAMOVI has three drawing modes. First, plain drawing lets you write any
character, including ALL the ASCII characters (1-31 and 128-255, inclusive).
WARNING: Since chr(27) is "ESC" and chr(3) is "<Ctrl>-C", you can't use
those two by typing "<Alt>-number". If you want to use the left arrow
character or the heart (characters 27 and 3) in plain drawing mode, just
press F9 or F10. Also, I elected to give you the use of the BACKSPACE
key rather that have it print character 8.
Line drawing draws a double line ("══════") along the path of the cursor,
with the ability to toggle drawing on or off.
Block drawing maps nine block-type characters onto the function keys
("█▓▒░▄▀▌▐■"). If you <shift> the function key, you get ten of whatever block
starting at the cursor position (no, it won't run off the edge of the screen)
and, if you "<Alt>" it, you get five copies going down.
In all three modes, except when the "═══" line is toggled ON in line
drawing, the <Ctrl> key, plus a keypad key, jumps around the screen -- with
<Ctrl>, Left, Right, PgUp, and PgDn leap to the extreme left, right, top, and
bottom of the screen. <Ctrl>-Home and <Ctrl>-End go to the upper left and
lower right, respectively.
At any point, <Esc> gets you back to the previous level. Thus, if you
drew something in Line Drawing mode and wanted to save it, you would hit
<Esc> once to go back to plain drawing, <Esc> again to get to the main menu,
and F5 to save. One more press of <Esc> and you would be ready to exit the
program, but you get one last chance to save your work to disk.
MENU SELECTIONS
F1 CREATE enters the drawing mode; <Esc> to exit it
F2 ADDs the most recent screen to the list
F3 REMOVE page througu the screens until you hit the one to remove,
then just hit <return>
F4 INSERT page through the screens to the screen AFTER which you want
to insert and hit <return>; the previous screen stays on,
so you can use it as a basis for the inserted screen.
F5 EDIT page to the screen, then edit it (Easy!)
F6 RE-USE use a previous screen as a basis for another
F7 WRITE the list to a file
F8 READ dispose of the current list and read a disk file
F9 PLAY run through the list, and wait on the last screen
F10 CYCLE run through the list repeatedly until a key is pressed
MAKAMOVI FILES
Each screen in MAKAMOVI is 4k of info (80 columns * 25 rows * 2 bytes).
Rather than try to save all that, MAKAMOVI only records the DIFFERENCE between
sucessive screens. If every two screens were 100% different, this would take
8k per screen but, in fact, they may differ very little. This format means
that you will not be able to look at your screen files. MAKAMOVI screen files
automatically have the extension ".SCN"
The MAKAMOVI screens exist as a linked list -- this makes all of your
memory available. (The CODE and DATA segments of a .COM file generally must
both fit within 64K.) If we suppose that DOS and the MAKAMOVI program take
up 64K, then for every 64K MORE that you have, you can use at most 8 screens.
It's a good idea to (just once) try pressing F2 (ADD a screen) repeatedly until
you run out of memory -- that way you'll know just how many screens you can
create without crashing. With 512K in the machine, DOS and SIDEKICK resident,
I can create 64 screens.